package cn.tedu._06interceptor.controller;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/users/")
public class UserController {
    @RequestMapping("reg")
    public String reg(){
        return "reg ok";
    }

    @RequestMapping("login")
    public String login(){
        return "login ok";
    }
}
